Optimal. Leaf size=68 \[ -\frac{2 A \tanh ^{-1}\left (\frac{\sqrt{b x+c x^2}}{\sqrt{b} \sqrt{x}}\right )}{b^{3/2}}-\frac{2 \sqrt{x} (b B-A c)}{b c \sqrt{b x+c x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.050674, antiderivative size = 68, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 24, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.125, Rules used = {788, 660, 207} \[ -\frac{2 A \tanh ^{-1}\left (\frac{\sqrt{b x+c x^2}}{\sqrt{b} \sqrt{x}}\right )}{b^{3/2}}-\frac{2 \sqrt{x} (b B-A c)}{b c \sqrt{b x+c x^2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 788
Rule 660
Rule 207
Rubi steps
\begin{align*} \int \frac{\sqrt{x} (A+B x)}{\left (b x+c x^2\right )^{3/2}} \, dx &=-\frac{2 (b B-A c) \sqrt{x}}{b c \sqrt{b x+c x^2}}+\frac{A \int \frac{1}{\sqrt{x} \sqrt{b x+c x^2}} \, dx}{b}\\ &=-\frac{2 (b B-A c) \sqrt{x}}{b c \sqrt{b x+c x^2}}+\frac{(2 A) \operatorname{Subst}\left (\int \frac{1}{-b+x^2} \, dx,x,\frac{\sqrt{b x+c x^2}}{\sqrt{x}}\right )}{b}\\ &=-\frac{2 (b B-A c) \sqrt{x}}{b c \sqrt{b x+c x^2}}-\frac{2 A \tanh ^{-1}\left (\frac{\sqrt{b x+c x^2}}{\sqrt{b} \sqrt{x}}\right )}{b^{3/2}}\\ \end{align*}
Mathematica [A] time = 0.0341092, size = 69, normalized size = 1.01 \[ -\frac{2 \sqrt{x} \left (\sqrt{b} (b B-A c)+A c \sqrt{b+c x} \tanh ^{-1}\left (\frac{\sqrt{b+c x}}{\sqrt{b}}\right )\right )}{b^{3/2} c \sqrt{x (b+c x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.013, size = 63, normalized size = 0.9 \begin{align*} -2\,{\frac{\sqrt{x \left ( cx+b \right ) }}{{b}^{3/2}\sqrt{x} \left ( cx+b \right ) c} \left ( A{\it Artanh} \left ({\frac{\sqrt{cx+b}}{\sqrt{b}}} \right ) c\sqrt{cx+b}-Ac\sqrt{b}+B{b}^{3/2} \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (B x + A\right )} \sqrt{x}}{{\left (c x^{2} + b x\right )}^{\frac{3}{2}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.95775, size = 429, normalized size = 6.31 \begin{align*} \left [\frac{{\left (A c^{2} x^{2} + A b c x\right )} \sqrt{b} \log \left (-\frac{c x^{2} + 2 \, b x - 2 \, \sqrt{c x^{2} + b x} \sqrt{b} \sqrt{x}}{x^{2}}\right ) - 2 \,{\left (B b^{2} - A b c\right )} \sqrt{c x^{2} + b x} \sqrt{x}}{b^{2} c^{2} x^{2} + b^{3} c x}, \frac{2 \,{\left ({\left (A c^{2} x^{2} + A b c x\right )} \sqrt{-b} \arctan \left (\frac{\sqrt{-b} \sqrt{x}}{\sqrt{c x^{2} + b x}}\right ) -{\left (B b^{2} - A b c\right )} \sqrt{c x^{2} + b x} \sqrt{x}\right )}}{b^{2} c^{2} x^{2} + b^{3} c x}\right ] \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sqrt{x} \left (A + B x\right )}{\left (x \left (b + c x\right )\right )^{\frac{3}{2}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.14161, size = 130, normalized size = 1.91 \begin{align*} \frac{2 \, A \arctan \left (\frac{\sqrt{c x + b}}{\sqrt{-b}}\right )}{\sqrt{-b} b} - \frac{2 \,{\left (B b - A c\right )}}{\sqrt{c x + b} b c} - \frac{2 \,{\left (A \sqrt{b} c \arctan \left (\frac{\sqrt{b}}{\sqrt{-b}}\right ) - B \sqrt{-b} b + A \sqrt{-b} c\right )}}{\sqrt{-b} b^{\frac{3}{2}} c} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]